<template>
	<view class="problem">
		<u-tabs :list="list" :is-scroll="false" :current="current" @change="change" active-color="#45b688"></u-tabs>
		<view class="problem-item" v-show="current == 0">
			<u-cell-group>
				<u-cell-item title="1.新手使用教程 "></u-cell-item>
				<u-cell-item title="2.为什么只支持部分分提前批次？ "></u-cell-item>
				<u-cell-item title="3.为什么选择条件筛选后学校为0所？  "></u-cell-item>
				<u-cell-item title="4.如何修改密码？ "></u-cell-item>
				<u-cell-item title="5.提示用户名密码错误怎么办？ "></u-cell-item>
				<u-cell-item title="6.在本产品内生成的志愿表可以删除吗？ "></u-cell-item>
				<u-cell-item title="7.哪省市暂时不适用？"></u-cell-item>
				<u-cell-item title="8.志愿填报的适用范围？"></u-cell-item>
			</u-cell-group>
		</view>
		<view class="problem-item" v-show="current == 1">
			<u-cell-group>
				<u-cell-item title="1.青云志愿APP有哪些特色与优势?"></u-cell-item>
				<u-cell-item title="2.什么时候更新最新年份高考的录取数据？ "></u-cell-item>
				<u-cell-item title="3.少数学校和专业无历史数据或招生计划  "></u-cell-item>
				<u-cell-item title="4.使用几年的数据评测录取概率?"></u-cell-item>
				<u-cell-item title="5.分数、文理科可以修改多少次吗?"></u-cell-item>
			</u-cell-group>
		</view>
		<view class="problem-item" v-show="current == 2">
			<u-cell-group>
				<u-cell-item title="1.开通VIP，可以退换吗?"></u-cell-item>
				<u-cell-item title="2.之前的手机号换了，帐户还可以登录吗?"></u-cell-item>
				<u-cell-item title="3.购买了VIP，如何开具发票? "></u-cell-item>
				<u-cell-item title="4.VIP开通后可转借他人使用吗?"></u-cell-item>
				<u-cell-item title="5.购买VIP后可以修改省份吗?"></u-cell-item>
				<u-cell-item title="6.VIP的有效期多久?"></u-cell-item>
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
					name: '使用问题'
				}, {
					name: '产品问题'
				}, {
					name: '购买问题'
				}],
				current: 0
			}
		},
		onLoad() {
			this.getList();
		},
		methods: {
			goto(name) {
				uni.navigateTo({
					url: name+"?school_code="+this.schoolDetail.school_code
				});
			},
			change(index) {
				this.current = index;
			},
			getList() {
				console.log(33)
				this.http({
					url: `api/v1/help/get_cate_list`,
					method: 'GET',
					success: res => {
						if (res.code == 0) {
							
						}
					},
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.problem {
		padding-top: 20rpx;
	}
</style>
